<div class="right-plate" style="bottom: 15px; height: calc(100% - 114px); top: 44px;">
	<div class="table-thead" *ngIf="tabVal" [ngClass]="{'table-thead-scroll':tabVal.length > 17}">
		<table class="tableStyle table table-hover table-striped">
			<thead>
				<tr>
					<th class="bs-checkbox w5 text-center">
						<input type="checkbox" #event (click)="_selectAll(event.checked,tabVal)" [checked]="isSelectAll">
					</th>
					<th class="w10 text-left max-w" *ngIf="taskType != 2">内容名称</th>
					<th class="w10 text-left max-w" *ngIf="taskType == 2">主题词表名称</th>
					<th class="w10 text-left max-w" *ngIf="taskType != 2">作者</th>
					<th class="w10 text-left max-w">标引人</th>
					<th class="w10 text-left max-w">审核人</th>
					<th class="w10 text-left max-w">标引状态</th>
					<th class="w10 text-left max-w">审核状态</th>
					<th class="w10 text-left max-w">参考标引</th>
					<th class="w10 text-left max-w">标引完成时间 </th>
					<th class="w15 text-left max-w">操作</th>
				</tr>
			</thead>
		</table>
	</div>
	<div class="table-tbody">
		<table class="tableStyle table table-hover table-striped">
			<tbody>
				<tr *ngFor="let val of tabVal">
					<td class="bs-checkbox w5 text-center">
						<input type="checkbox" #event (click)="_chose(event.checked,val.productId,tabVal.length)" [checked]="isChose">
					</td>
					<td class="w10 text-left max-w" title="{{val.productName}}">{{val.productName}}</td>
					<td class="w10 text-left max-w" *ngIf="taskType != 2">{{val.author}}</td>
					<td class="w10 text-left max-w">{{val.indexingBy}}</td>
					<td class="w10 text-left max-w">{{val.checkBy}}</td>
					<td class="w10 text-left max-w">
						<span class="TC-state TC-right-foot-green01" *ngIf="val.status == 1">已完成</span>
						<span class="TC-state TC-right-foot-orange" *ngIf="val.status == 0">未完成</span>
					</td>
					<td class="w10 text-left max-w">
						<span class="TC-state TC-right-foot-green01" *ngIf="val.checkStatus == 200">已通过</span>
						<span class="TC-state TC-right-foot-orange" *ngIf="val.checkStatus == -1">未通过</span>
						<span class="TC-state TC-right-foot-bule" *ngIf="val.checkStatus == 0">未审核</span>
					</td>
					<td class="w10 text-left max-w">
						<span class="EnableColor" *ngIf="val.refIndexing == 1">是</span>
						<span class="EnableColor" *ngIf="val.refIndexing == 0">否</span>
					</td>
					<td class="w10 text-left max-w">{{val.completeDate | date:'yyyy-MM-dd HH:mm:ss'}}</td>
					<td class="text-left max-w w15">
						<span title="标引" class="btn-i" *ngIf="!child && right['taskPermissionContent']['innertextIndex']" routerLink="/internal" [queryParams]="{id:val.id,taskType:taskType}">
							<img src="assets/new/bj.png" width="20px" height="20px">
						</span>
						<span title="从任务中移除" class="btn-i"  *ngIf="completeStatus != '1' && right['taskPermissionContent']['deleteTaskContent']" (click)="contentDel.setDelData(val);del(val)">
							<img src="assets/new/delete.png" width="15px" height="15px">
						</span>
						<!-- 只有任务审核人才有审核按钮 -->
						<span title="审核" class="btn-i"  *ngIf="completeStatus !='1' && right['taskPermissionContent']['Review'] && val.taskCheckBy == server.getuserName()" (click)="contentAudit.setAuditData(val);eport(val);">
							<img src="assets/new/sh.png" width="24px" height="24px">
						</span>
						<span class="btn-i-auto" data-toggle="modal" data-target="#productTastContentRefIndex" *ngIf="val.refIndexing == 0 && completeStatus!=1 && right['taskPermissionContent']['innertextReferenceIndex']" (click)="contentRefIndex.setRefIndexData(val, 1);initService._init(1)">设为参考标引</span>
						<span class="btn-i-auto" data-toggle="modal" data-target="#productTastContentRefIndex" *ngIf="val.refIndexing == 1 && completeStatus!=1 && right['taskPermissionContent']['cancelReferenceIndexing']" (click)="contentRefIndex.setRefIndexData(val, 0);initService._init(1)">取消参考标引</span>
					</td>
				</tr>
			</tbody>
		</table>
	</div>
</div>

<!-- 删除任务内容弹窗BEGIN -->
<app-product-indexing-task-content-del #contentDel (delEvent)="getTaskProductList()"></app-product-indexing-task-content-del>
<!-- 删除任务内容弹窗END -->

<!-- 审核任务内容弹窗BEGIN -->
<app-product-indexing-task-content-audit #contentAudit (auditEvent)="getTaskProductList()"></app-product-indexing-task-content-audit>
<!-- 审核任务内容弹窗END -->

<!-- 设为参考标引BEGIN -->
<app-product-indexing-task-content-refIndex #contentRefIndex (refIndexEvent)="getTaskProductList()"></app-product-indexing-task-content-refIndex>
<!-- 设为参考标引END -->